<?php
/**
 * Author: Hancock
 * Email: 84622365@qq.com
 * Date: 7/13/2016
 * Des: 视图类
 */
defined('INHkMvc') or exit('Access Invalid!');

class View
{
    public $output;
    public $tpl;
    public function __construct()
    {
        $this->output = [];
    }

    public function display($tpl = '', $theme = '')
    {
        require_once(display($tpl, $theme));
    }

    public function sign($key, $value)
    {     
        $this->output[$key] = $value;
    }
}
